package com.chenguo.gulimall.member.config;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @Description:
 * @Created: with IntelliJ IDEA.
 * @author: wanzenghui
 * @createTime: 2020-07-08 14:28
 **/

@Configuration
public class MemberWebConfig implements WebMvcConfigurer {

//    @Autowired
//    private LoginUserInterceptor loginUserInterceptor;
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(loginUserInterceptor).addPathPatterns("/**");
//    }

}
